package com.grwx.omc.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.grwx.omc.entity.BaseEntity;
import lombok.Data;

@Data
@TableName("sys_resource")
public class SysResource extends BaseEntity {

    private String resourceName;

    private String resourceCode;

    private String resourceType;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;

    private String remark;

}
